package org.istt.domain;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import static javax.persistence.GenerationType.IDENTITY;
import javax.persistence.Id;
import javax.persistence.Table;


/**
 * Settings entity. @author MyEclipse Persistence Tools
 */
@Entity
@Table(name="TBL_SETTINGS"
    ,schema="dbo"
    ,catalog="onegate"
)

public class Settings extends BaseObject<Long> implements java.io.Serializable {


    // Fields    

     /**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	private Long id;
     private String siteLogo;
     private String contactEmail;
     private Integer recordPerPage;
     private String siteName;
     private String footerMessage;
     private String siteSologan;


    // Constructors

    /** default constructor */
    public Settings() {
    }

    
    /** full constructor */
    public Settings(String siteLogo, String contactEmail, Integer recordPerPage, String siteName, String footerMessage, String siteSologan) {
        this.siteLogo = siteLogo;
        this.contactEmail = contactEmail;
        this.recordPerPage = recordPerPage;
        this.siteName = siteName;
        this.footerMessage = footerMessage;
        this.siteSologan = siteSologan;
    }

   
    // Property accessors
    @Id @GeneratedValue(strategy=IDENTITY)
    
    @Column(name="ID", unique=true, nullable=false)

    public Long getId() {
        return this.id;
    }
    
    public void setId(Long id) {
        this.id = id;
    }
    
    @Column(name="SITE_LOGO")

    public String getSiteLogo() {
        return this.siteLogo;
    }
    
    public void setSiteLogo(String siteLogo) {
        this.siteLogo = siteLogo;
    }
    
    @Column(name="CONTACT_EMAIL", length=50)

    public String getContactEmail() {
        return this.contactEmail;
    }
    
    public void setContactEmail(String contactEmail) {
        this.contactEmail = contactEmail;
    }
    
    @Column(name="RECORD_PER_PAGE")

    public Integer getRecordPerPage() {
        return this.recordPerPage;
    }
    
    public void setRecordPerPage(Integer recordPerPage) {
        this.recordPerPage = recordPerPage;
    }
    
    @Column(name="SITE_NAME")

    public String getSiteName() {
        return this.siteName;
    }
    
    public void setSiteName(String siteName) {
        this.siteName = siteName;
    }
    
    @Column(name="FOOTER_MESSAGE")

    public String getFooterMessage() {
        return this.footerMessage;
    }
    
    public void setFooterMessage(String footerMessage) {
        this.footerMessage = footerMessage;
    }
    
    @Column(name="SITE_SOLOGAN")

    public String getSiteSologan() {
        return this.siteSologan;
    }
    
    public void setSiteSologan(String siteSologan) {
        this.siteSologan = siteSologan;
    }


	@Override
	public String toString() {
		
		return null;
	}


	@Override
	public boolean equals(Object o) {
		
		return false;
	}


	@Override
	public int hashCode() {
		
		return 0;
	}
}